package com.damie.common.dao;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author ls
 * @since 2021-01-19
 */
@Data
  @EqualsAndHashCode(callSuper = false)
    @TableName("t_waste_order")
@ApiModel(value="WasteOrder对象", description="")
public class WasteOrder implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty(value = "废品订单id")
        @TableId(value = "waste_order_id", type = IdType.ASSIGN_ID)
      private String wasteOrderId;

      @ApiModelProperty(value = "用户id")
      private String userId;

      @ApiModelProperty(value = "留存电话")
      private String userPhone;

      @ApiModelProperty(value = "地址")
      private String userAddress;

      @ApiModelProperty(value = "地址id")
      private String userAddressId;

      @ApiModelProperty(value = "创建订单时间")
        @TableField(fill = FieldFill.INSERT)
      private Date createTime;

      @ApiModelProperty(value = "用户修改订单时间")
        @TableField(fill = FieldFill.INSERT_UPDATE)
      private Date updateTime;

      @ApiModelProperty(value = "接订单站点id")
      private String siteId;

      @ApiModelProperty(value = "执行订单骑手")
      private String riderId;

      @ApiModelProperty(value = "1用户下单/2站点接单/3已完成/4坏单用户取消订单")
      private Integer wasteOrderStatus;

      @ApiModelProperty(value = "卖废品的预约时间")
      private Date appointmentTime;

      @ApiModelProperty(value = "订单照片资料")
      private String wasteOrderData;

      @ApiModelProperty(value = "订单留言备注")
      private String wasteOrderMessage;


}
